package com.slife.snap.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class RecordModel {
    private String firstId;
    private String secondId;
    private String carType;
    private String pType;
    private String plateNumber;
    private String commpanyName;
    private Double firstWeight;
    private Double secondWeight;
    private Double suttleWeight;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss ",timezone = "GMT+8")
    private Date firstTime;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date secondTime;
    private List<ImgEntity> firstImgs;
    private List<ImgEntity> secondImgs;
}
